home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 43 / Amiga Format CD43 (1999)(Future Publishing)(GB)(Track 1 of 2)[!][issue 1999-09].iso / -serious- / misc / kc / readme.eng < prev    next >
Text File  |  1999-06-14  |  5KB  |  107 lines

  1.                  Kanji code converter program (kc V1.8)
  2.  
  3.  This program converts amongst the following 4 kanji codes:
  4.  
  5.  1) JIS code.
  6.     a) j : jis { ESC$B [kanji'83], ESC (B [ascii], ESC (I [kana (7Bit)] }
  7.      ESC (B : ASCII (ISO646) designated as G0
  8.      ESC $B : Japanese kanji '83 edition (JIS X 0208 - 1983) designated as G0
  9.      ESC (I : Japanese katakana (right half part of JIS X 0201) designated as G0
  10.     b) J : jis { ESC$B [kanji'83], ESC (J [roman] }
  11.       ESC $ B : Japanese kanji '83 edition (JIS X 0208 - 1983) designated as G0
  12.       ESC ( I : Japanese romaji (left half part of JIS X 0201) designated as G0
  13.     c) o : oldjis { ESC$@ [kanji'78], ESC (J [ascii], ESC (I [kana(7bit)]}
  14.       ESC ( J : Japanese romaji (left half part of JIS X 0201) designated as G0
  15.       ESC $ @ : Japanese kanji '78 edition (JIS C 6226 - 1978) designated as G0
  16.       ESC ( I : Japanese katakana (right half part of JIS X 0201) designated as G0
  17.     <<ATTENTION!: These names for the different kind of characters
  18.     are assigned by myself.>>
  19.  2) Shift-JIS code (MS kanji code).
  20.  3) Extended UNIX code (EUC).
  21.  4) X compound text.
  22.   c: ctext { ESC$(B [kanji'83], ESC (B [ascii], ESC ) I [kana (8bit)] }
  23.      ESC ( B : ASCII (ISO646) designated as G0
  24.      ESC $ ( B  : Japanese kanji '83 edition (JIS X 0208 - 1983) designated as G0
  25.      ESC ) I : Japanese katakana (right half part of JIS X 0201) designated as G1
  26.      ESC - A : Latin-1 designated as G1
  27.  
  28.   <<Usage Syntax>>
  29.  
  30.   kc [-k] [-bXX] [-f] [-v] [ -[input kanjicode] [output kanjicode]]
  31.   [file(s)]
  32.  
  33.   meanings of parameters:
  34.   
  35.   k : Only kanji code identification is done.
  36.    No code convertion is performed.
  37.    The result can be :
  38.    "ILLEGAL" : wrong escape sequence [ESC (H]
  39.    "UNKNOWN" : couldn't identify
  40.    "JIS"     : JIS code
  41.    "SJIS"    : Shift-JIS code
  42.    "EUC"     : Extended UNIX code
  43.    "CT"      : X compound text
  44.  
  45.   b : Designate size of the row of characters input to be investigated in
  46.   oder to identify kanji code. Default is 1024 bytes.
  47.  
  48.   v : [verbose; note from translator] It does show whether some character
  49.   doesn't convert properly, by default it doesn't show anything else than
  50.   ESC (H usage message.
  51.  
  52.   input kanjicode: (specify only one from the following)
  53.    s : Shift-JIS code
  54.    e : EUC code
  55.    j : JIS code
  56.     ESC ( B  : ASCII(ISO646) designated as G0
  57.     ESC $ B : Japanese kanji '83 edition (JIS X 0208 - 1983) designated as G0
  58.     ESC ( I : Japanese katakana (right half part of JIS X 0201) designated as G0
  59.    J : JIS code
  60.     ESC $ B : Japanese kanji '83 edition (JIS X 0208 - 1983) designated as G0
  61.     ESC ( I : Japanese romaji (left half part of JIS X 0201) designated as G0
  62.    o : JIS code
  63.     ESC ( J : Japanese romaji (left half part of JIS X 0201) designated as G0
  64.     ESC $ @ : Japanese kanji '78 edition (JIS C 6226 - 1978) designated as G0
  65.     ESC ( I : Japanese katakana (right half part of JIS X 0201) designated as G0
  66.    c : compound text
  67.     ESC ( B  : ASCII(ISO646) designated as G0
  68.     ESC $ ( B  : Japanese kanji '83 edition (JIS X 0208 - 1983) designated as G0
  69.     ESC ) I : Japanese katakana (right half part of JIS X 0201) designated as G1
  70.     ESC - A : Latin-1 designated as G1
  71.   output kanjicode: (specify only one from the following)
  72.    s : Shift-JIS code
  73.    e : EUC code
  74.    j : JIS code
  75.     ESC ( B  : ASCII(ISO646) designated as G0
  76.     ESC $ B : Japanese kanji '83 edition (JIS X 0208 - 1983) designated as G0
  77.     ESC ( I : Japanese katakana (right half part of JIS X 0201) designated as G0
  78.    J : JIS code
  79.     ESC $ B : Japanese kanji '83 edition (JIS X 0208 - 1983) designated as G0
  80.     ESC ( I : Japanese romaji (left half part of JIS X 0201) designated as G0
  81.    o : JIS code
  82.     ESC ( J : Japanese romaji (left half part of JIS X 0201) designated as G0
  83.     ESC $ @ : Japanese kanji '78 edition (JIS C 6226 - 1978) designated as G0
  84.     ESC ( I : Japanese katakana (right half part of JIS X 0201) designated as G0
  85.    c : compound text
  86.     ESC ( B  : ASCII(ISO646) designated as G0
  87.     ESC $ ( B  : Japanese kanji '83 edition (JIS X 0208 - 1983) designated as G0
  88.     ESC ) I : Japanese katakana (right half part of JIS X 0201) designated as G1
  89.     ESC - A : Latin-1 designated as G1
  90.  
  91.  If you specify only output code it's ok, program will try to identify
  92.  automatically inputfile. Default output is Shift-JIS, you can change it
  93.  to, say, EUC by changing the environmental variable "KC".
  94.  SetEnv KC -e
  95.  
  96.  P.S.: Due to many changes from Version 1.5 to 1.7 into the way of writing
  97.  code I fear there are a good bunch of new bugs. Please let me know if
  98.  you find any. Thanks.
  99.  You can change, copy and so on the program but please let me know
  100.  modifications.
  101.  NTT
  102.  CHUO NETWORK GIJUTSU CENTER (Central Network Technical Center)
  103.  GIJUTSU KAIHATSU BUMON (Technical Development Department)
  104.  Mukawa Shin 
  105.  ("Shin" could be "Susumu" instead; note from translator)
  106.  (mukawa@ctec.tn-se.ntt.jp)
  107.